import axios from 'axios'

export const loginServer = (method, params) => {
  return axios[method](`/login`, params)
}

export const checkloginServer = (method) => {
  return axios[method](`/checklogin`)
}

export const passportServer = (method, params) => {
  return axios[method](`/passport`, params)
}

export const registerServer = (method, params) => {
  return axios[method](`/register`, params)
}
export const personalinformationServer = (method, params) => {
  return axios[method](`/personalinformation`, params)
}
